package com.dingwen.treasure.base.valid;

import javax.validation.GroupSequence;

/**
 * 　ValidGroup: 规则校验
 * 　@author dingwen
 * 　@date 2022/7/7
 */
public class ValidGroup {
    /**
     * 新增
     *
     * @author dingwen
     * @date 2022/07/07
     */
    public interface Save {
    }

    /**
     * 修改
     *
     * @author dingwen
     * @date 2022/07/07
     */
    public interface Modify {
    }

    /**
     * 删除
     *
     * @author dingwen
     * @date 2022/07/07
     */
    public interface Remove {
    }

    /**
     * 全部
     *
     * @author dingwen
     * @date 2022/07/07
     */
    @GroupSequence({Save.class, Modify.class, Remove.class})
    public interface All {
    }
}
